package service

var back *BackService

func IsLogin() bool {
	check()
	info := back.CheckLogin()
	if info == nil {
		return false
	}
	return true
}

func check() {
	if back == nil {
		back = NewBackService()
	}
}
